export const APIS = {
    login: {
        url: "/api/user/auth/login",
        method: "POST"
    },
    getProfile: {
        url: "/api/user/profile",
        method: "GET"
    },
    setProfile: {
        url: "/api/user/profile",
        method: "POST"
    },
    startExercise: {
        url: "/api/user/exercise/collect",
        method: "GET"
    },
    getExerciseProblem: {
        url: "/api/user/exercise/problem",
        method: "GET"
    },
    checkExerciseProblem: {
        url: "/api/user/exercise/problem/check",
        method: "GET"
    },
    registerContest: {
        url: "/api/user/contest/register",
        method: "POST"
    },
    getParticipatedContest: {
        url: "/api/user/contest/records",
        method: "GET"
    },
    startContest: {
        url: "/api/user/contest/start",
        method: "POST"
    },
    getContestProblem: {
        url: "/api/user/contest/problem",
        method: "POST"
    },
    submitContestProblem: {
        url: "/api/user/contest/problem/submit",
        method: "POST"
    },
    getContestRecord: {
        url: "/api/user/contest/result",
        method: "GET"
    },
    getContestLeaderboard: {
        url: "/api/user/contest/leaderboard",
        method: "GET"
    },
    getAllTag: {
        url: "/api/general/tag/list",
        method: "GET"
    },
    searchContest: {
        url: "/api/general/contest/list",
        method: "GET"
    },
    getLeaderBoard: {
        url: "/api/general/rating/leaderboard",
        method: "GET"
    }
}